package com.kehongborui.fliggy.enums;

/**
 * 列车状态枚举
 */
public enum VehicleStatus {
    NORMAL((byte)1, "正常"),
    OFF(Byte.valueOf("0"), "停运"),
    ;
    VehicleStatus(byte code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    private byte code;
    private String desc;

    public byte getCode() {
        return code;
    }

    public void setCode(byte code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
